<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>轮播配置</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="刘代应">
	<meta name="hashcode" content="-634900521">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-634900521";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("carouselconfig.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建轮播配置"
  			,"inport":"导入轮播配置"
  			,"update":"修改轮播配置"
  			,"detail":"轮播配置详情"
  			
  			
			
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#carouselconfigForm").form({
		"":function(){}
		,"tbCarouselConfig.tbccId":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"tbCarouselConfig.tbccBrand":function(el){
		}
		,"tbCarouselConfig.tbccSort":function(el){
				if(el.value.length>10)
					return "数字太大了";
					 var pattern = /^-?(0|[1-9][0-9]*)?$/;
					 if(!pattern.test(el.value))
						return "请输入正确格式的数字";			
		}
		,"tbCarouselConfig.tbccType":function(el){
		}
		,"tbCarouselConfig.tbccPicture":function(el){
		}
		,"tbCarouselConfig.tbccCommodity":function(el){
		}
		,"tbCarouselConfig.tbccActivity":function(el){
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>




<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="TbCarouselConfig" id="carouselconfigForm" name="carouselconfigForm" target="jsoniframe" action="carouselconfig.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt" style="display:none;">
				温馨提示：请仔细填写轮播配置相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
			
			
					
	{{lz.set("tbccId_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccId"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccId"))))}}
	{{lz.set("tbccId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccId}}
	<dl lz:if="{{tbccId_editable||tbccId_readonly}}" class="tbccId hidden " major  ref="tbccId">
		<dt>编　　号:</dt>
		<dd lz:if="{{tbccId_editable}}" input="hidden">
			<lz:block lz:if="{{tbCarouselConfig$tbccId}}">
				{{tbCarouselConfig$tbccId}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccId}}">
			<input type="hidden" value="{{lz.htm(tbCarouselConfig.tbccId)}}" name="tbCarouselConfig.tbccId" id="tbccId" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccId">{{tbCarouselConfig.tbccId}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbCarouselConfig.tbccId$||tbCarouselConfig.tbccId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccId}}
					
	{{lz.set("tbccBrand_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccBrand"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccBrand"))))}}
	{{lz.set("tbccBrand_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccBrand}}
	<dl lz:if="{{tbccBrand_editable||tbccBrand_readonly}}" class="ribs tbccBrand  " major  ref="tbccBrand">
		<dt>品　　牌:</dt>
		<dd lz:if="{{tbccBrand_editable}}" input="query">
			<lz:block lz:if="{{tbCarouselConfig$tbccBrand}}">
				{{tbCarouselConfig$tbccBrand}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccBrand}}">
		 			<input title="请输入品牌信息品牌名称进行查询" class="combox narrow" action="/admin/business/merchant.query.do?value={param}" type="text" id="tbccBrand" name="tbCarouselConfig.tbccBrand" text="{{lz.html(tbCarouselConfig.tbccBrand$||tbCarouselConfig.tbccBrand)}}" value="{{lz.htm(tbCarouselConfig.tbccBrand)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#tbccBrand').val())==''){return;};window.href('/admin/business/merchant.detail.html?key='+$('#tbccBrand').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccBrand_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccBrand">{{tbCarouselConfig.tbccBrand}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/business/merchant.details.html?key=tbCarouselConfig.tbccBrand}')">
			 {{lz.html(tbCarouselConfig.tbccBrand$||tbCarouselConfig.tbccBrand)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccBrand}}
					
	{{lz.set("tbccSort_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccSort"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccSort"))))}}
	{{lz.set("tbccSort_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccSort}}
	<dl lz:if="{{tbccSort_editable||tbccSort_readonly}}" class="ribs tbccSort  " major  ref="tbccSort">
		<dt>排　　序:</dt>
		<dd lz:if="{{tbccSort_editable}}" input="number">
			<lz:block lz:if="{{tbCarouselConfig$tbccSort}}">
				{{tbCarouselConfig$tbccSort}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccSort}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="tbCarouselConfig.tbccSort" id="tbccSort"  value="{{lz.htm(tbCarouselConfig.tbccSort)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>数值越大越排前</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccSort_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccSort">{{tbCarouselConfig.tbccSort}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbCarouselConfig.tbccSort$||tbCarouselConfig.tbccSort)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccSort}}
					
	{{lz.set("tbccType_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccType"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccType"))))}}
	{{lz.set("tbccType_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccType}}
	<dl lz:if="{{tbccType_editable||tbccType_readonly}}" class="ribs tbccType  " major  ref="tbccType">
		<dt>跳转类型:</dt>
		<dd lz:if="{{tbccType_editable}}" input="select">
			<lz:block lz:if="{{tbCarouselConfig$tbccType}}">
				{{tbCarouselConfig$tbccType}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccType}}">
		 	<select class="narrow" id="tbccType" name="tbCarouselConfig.tbccType">
		 		<option value="">请选择</option>
				<option value="1" selected='{{tbCarouselConfig.tbccType=="1"?"selected":""}}'>商品页</option>
				<option value="2" selected='{{tbCarouselConfig.tbccType=="2"?"selected":""}}'>活动页</option>
				<option value="3" selected='{{tbCarouselConfig.tbccType=="3"?"selected":""}}'>代理卡页</option>
				<option value="4" selected='{{tbCarouselConfig.tbccType=="4"?"selected":""}}'>合伙人页</option>
				<option value="5" selected='{{tbCarouselConfig.tbccType=="5"?"selected":""}}'>余额优惠充值</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择轮播配置的跳转类型</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccType_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccType">{{tbCarouselConfig.tbccType}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbCarouselConfig.tbccType$||tbCarouselConfig.tbccType)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccType}}
					
	{{lz.set("tbccPicture_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccPicture"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccPicture"))))}}
	{{lz.set("tbccPicture_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccPicture}}
	<dl lz:if="{{tbccPicture_editable||tbccPicture_readonly}}" class="ribs tbccPicture   wider" major  ref="tbccPicture">
		<dt>图　　片:</dt>
		<dd lz:if="{{tbccPicture_editable}}" input="image">
			<lz:block lz:if="{{tbCarouselConfig$tbccPicture}}">
				{{tbCarouselConfig$tbccPicture}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccPicture}}">
		    <input type="text" class="input" maxlength="128" size="32" name="tbCarouselConfig.tbccPicture" id="tbccPicture"  value="{{lz.htm(tbCarouselConfig.tbccPicture)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#tbccPicture').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#tbccPicture').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#tbccPicture').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 
	 	 <em>请上传轮播配置的图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccPicture_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="tbccPicture">{{tbCarouselConfig.tbccPicture}}</textarea>
		 		<span>
		 	<img lz:if="{{tbCarouselConfig.tbccPicture}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(tbCarouselConfig.tbccPicture)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccPicture}}
					
	{{lz.set("tbccCommodity_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccCommodity"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccCommodity"))))}}
	{{lz.set("tbccCommodity_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccCommodity}}
	<dl lz:if="{{tbccCommodity_editable||tbccCommodity_readonly}}" class="ribs tbccCommodity  " major  ref="tbccCommodity">
		<dt>商　　品:</dt>
		<dd lz:if="{{tbccCommodity_editable}}" input="query">
			<lz:block lz:if="{{tbCarouselConfig$tbccCommodity}}">
				{{tbCarouselConfig$tbccCommodity}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccCommodity}}">
		 			<input title="请输入商品信息商品名称进行查询" class="combox narrow" action="/admin/goods/commodity.query.do?value={param}" type="text" id="tbccCommodity" name="tbCarouselConfig.tbccCommodity" text="{{lz.html(tbCarouselConfig.tbccCommodity$||tbCarouselConfig.tbccCommodity)}}" value="{{lz.htm(tbCarouselConfig.tbccCommodity)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#tbccCommodity').val())==''){return;};window.href('/admin/goods/commodity.detail.html?key='+$('#tbccCommodity').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccCommodity_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccCommodity">{{tbCarouselConfig.tbccCommodity}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/goods/commodity.details.html?key=tbCarouselConfig.tbccCommodity}')">
			 {{lz.html(tbCarouselConfig.tbccCommodity$||tbCarouselConfig.tbccCommodity)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccCommodity}}
					
	{{lz.set("tbccActivity_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tbccActivity"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tbccActivity"))))}}
	{{lz.set("tbccActivity_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tbccActivity}}
	<dl lz:if="{{tbccActivity_editable||tbccActivity_readonly}}" class="ribs tbccActivity  " major  ref="tbccActivity">
		<dt>活　　动:</dt>
		<dd lz:if="{{tbccActivity_editable}}" input="query">
			<lz:block lz:if="{{tbCarouselConfig$tbccActivity}}">
				{{tbCarouselConfig$tbccActivity}}
			</lz:block>
			<lz:block lz:if="{{!tbCarouselConfig$tbccActivity}}">
		 			<input title="请输入活动软文编号进行查询" class="combox narrow" action="/admin/business/activitytext.query.do?value={param}" type="text" id="tbccActivity" name="tbCarouselConfig.tbccActivity" text="{{lz.html(tbCarouselConfig.tbccActivity$||tbCarouselConfig.tbccActivity)}}" value="{{lz.htm(tbCarouselConfig.tbccActivity)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#tbccActivity').val())==''){return;};window.href('/admin/business/activitytext.detail.html?key='+$('#tbccActivity').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbccActivity_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbccActivity">{{tbCarouselConfig.tbccActivity}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/business/activitytext.details.html?key=tbCarouselConfig.tbccActivity}')">
			 {{lz.html(tbCarouselConfig.tbccActivity$||tbCarouselConfig.tbccActivity)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbccActivity}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{tbCarouselConfig.tbccId}}" name="tbCarouselConfig.tbccId" id="tbccId" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/business/carouselconfig.edit.html?edittype=update&id={{tbCarouselConfig.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				
				
				<button lz:if="{{canDel}}" type="button" class="button" onclick="deleteCarouselconfig('{{tbCarouselConfig.id}}','{{tbCarouselConfig.tbccId}}')">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					删除&nbsp;&nbsp;</button>
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>





 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/business/carouselconfig.edit.html",document.title,"/admin/");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/business/carouselconfig.edit.html");
		}else{
			$.closeModalDialog();
		}
	}



	/**
	* 删除轮播配置
	**/
	function deleteCarouselconfig(id,flag)
	{
		var dialog=top.$.dialog({
				html:"<span style='white-space:nowrap;'>确定要删除当前数据吗？</span>",
				title:"删除轮播配置",
				modal: true,			
				onOk:function(){
					dialog.closeDialog();
					var url = "/admin/business/carouselconfig.delete.do";
					var params = {id:id};
					var protocol = $.getAjax(url,params);
					if(protocol.message){
						top.$.toast(protocol.message);
					}
					if(protocol.success){
						caller.location.href=caller.location.href;		
					}
				}
		 });	
	}

</script>
</html>